package cn.quang.search.admin.enums;

/**
 * 查询场景配置类型
 */
public enum SearchSceneConfigTypeEnum {
    LOGIC_TABLE(1, "逻辑表"),
    CONDITION(2, "必须注册的查询条件"),
    FIELD_DIC(3, "通用字典");

    private final int code;
    private final String name;

    SearchSceneConfigTypeEnum(int code, String name) {
        this.code = code;
        this.name = name;
    }

    public int getCode() {
        return code;
    }

    public String getName() {
        return name;
    }
}
